﻿/*
 * mdcif.h
 *
 *  Created on: 2020年5月3日
 *      Author: root
 */

#ifndef SRC_MDCIF_H_
#define SRC_MDCIF_H_
//---------------------------------------------------------------------------

#include "common.h"
//---------------------------------------------------------------------------

extern int RegMDC(int mdcNo);
extern int UnregMDC(int mdcNo);
extern int RegErrCallback(int mdcNo, TErrorCallback ACallback);
extern int RegNotifyEventCallback(int mdcNo, TOnNotifyEvent ACallback);
extern int MDCInit(int mdcNo, char *pzIPv4, uint16 uPort);
extern int StartWork(int mdcNo);
extern int StopWork(int mdcNo);
extern int DoCommand(int mdcNo, int cmd, BYTE *pData, uint32 uSize);
//---------------------------------------------------------------------------

#endif /* SRC_MDCIF_H_ */
